﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RFIDStockManagement.Model.Public
{
    public class ComBoxItem
    {
        string caption;

        public ComBoxItem():this(string.Empty,null)
        {
        }

        public ComBoxItem(string title, object value)
        {
            caption = title;
            item = value;
        }

        public string Caption
        {
            get { return caption; }
            set { caption = value; }
        }

        object item;

        public object Item
        {
            get { return item; }
            set { item = value; }
        }

        public override string ToString()
        {
            return caption;
        }
    }
}
